package com.zw.pdm.module.production.repository;

import com.zw.pdm.entity.production.MakeSheet;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description:
 *
 * @Author: China.sgl
 * @Date: 2020/7/30 16:47
 */
public interface MakeSheetRepository extends JpaRepository<MakeSheet, Integer> {
     int countBySheetIdAndStatusNotAndIsDel(Integer sheetId,Integer status,Integer isDel);

    List<MakeSheet> findByProId(Integer proId);

    int countBySpecialIdAndPartIdAndProCodeAndIsDel(String pecialId,Integer partId,String proCode,Integer isDel);

}
